<?php

namespace App\Api;

use App\Http\Controllers\Controller;
use App\Models\Record;
use Illuminate\Http\Request;

class RecordController extends Controller
{

    public function index()
    {
//        return Record::all();
        $records = Record::paginate(10);
        return $records;
    }


    public function create()
    {
        //
    }


    public function store(Request $request)
    {
        //
    }


    public function show(Record $record)
    {
        //
    }


    public function edit(Record $record)
    {
        //
    }


    public function update(Request $request, Record $record)
    {
        //
    }


    public function destroy(Record $record)
    {
        //
    }
}
